import { AxiosRequestConfig } from 'axios'
import serverApiUtils from '@/core/utils/serverApiUtils'
import lodash from 'lodash'
import { R } from '@/components/axios/interface'
import http from '@/components/axios/http'
import PageResponse from '@/core/framework/types/model/response/PageResponse'
import BaseAdminServerApi from '@/core/framework/serverapi/BaseAdminServerApi'
import SmsSendRecordResponse from '@/core/sms/generated/types/model/response/SmsSendRecordResponse'
import smsAdminApiConfig from '@/core/sms/generated/apiconfig/smsAdminApiConfig'

const moduleApiConfig = smsAdminApiConfig.smsSendRecord

class SmsSendRecordAdminServerApi extends BaseAdminServerApi<string, SmsSendRecordResponse> {}

const adminServerApi = new SmsSendRecordAdminServerApi({ adminApiConfig: moduleApiConfig })

export default adminServerApi
